package com.qf.vo;

import com.fasterxml.jackson.annotation.JsonInclude;

//文档要求传的json有什么类型，什么数据
//成功类
public class ResultVO {
    private Integer code=0;//代表是否成功属性
    private String msg="";//不成功的异常信息属性
    @JsonInclude(JsonInclude.Include.NON_NULL)//如果未null不输出
    private  Long count;//查询条数的回馈
    private Object data;//数据

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
